/*
 * @Author: 封装请求
 * @Date: 2020-06-08 09:43:15
 * @LastEditTime: 2020-06-08 16:05:00
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \发明人\fmr\src\utils\request.js
 */ 
import httpRequest from "@/request/api/apiConfig.js"
import qs from "qs"

// get请求封装
export function ajaxGet(url,params){
    return httpRequest.get(url,{
        params
    })
}

// post请求封装
export function ajaxPost(url,data,config){
    return httpRequest.post(url,qs.stringify(data),config)
}